﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataAccess.Core.Attributes;

namespace MVCPets.Data.Model
{
	public class Pet
	{
		[Key(SetOnInsert=true, FieldType="uniqueidentifier")]
		public string ID { get; set; }
		public string Breed { get; set; }
		public string Color { get; set; }
		public string Gender { get; set; }
		public string Name { get; set; }

		[DataField(FieldType = "varchar(max)")]
		public string Description { get; set; }
		public DateTime Listed { get; set; }
		public DateTime Edited { get; set; }

		[DataField(PrimaryKeyType=typeof(PetStatus))]
		public int Status { get; set; }

		public int Fee { get; set; }
		public string Age { get; set; }

		[DataField(LoadField=false)]
		public byte[] ThumbnailData { get; set; }
		public string ThumbnailType { get; set; }
	}
}